package com.baomibing.flow.ui;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * UData
 *
 * @author frog 2025/2/28 17:18
 * @version 1.0.0
 **/
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data @Accessors(chain = true)
public class UData {

    private String action;
    private String entrustType;
    private List<String> entrusts;
    private String model;
    private String allActionRejectType;
    private String recommitPolicy;
    private String rejectPolicy;
    private String exeType;
    private List<UPath> lpaths;
    private List<UPath> rpaths;
    private String title;
    private String icon;
    private String description;
    private Boolean deleteable = Boolean.TRUE;
    private Boolean selected = Boolean.FALSE;
    private Boolean dragging = Boolean.FALSE;
    private List<UVariable> variables;
    private Boolean passed = Boolean.FALSE;
    private Boolean running = Boolean.FALSE;
}
